

/**
 * 自定义指令：按钮权限控制
 */

export default {
    async install ( Vue ) {
        Vue.directive( 'auto', {
            inserted : ( el, binding,vnode ) => {
                console.log(vnode)
                console.log(window.innerHeight-el.getBoundingClientRect().top-60)


            }
        } )
    }
}
